package com.tulele.vtool.service.impl;

import com.tulele.vtool.mapper.ShieldMapper;
import com.tulele.vtool.mapper.UserGroupGzhMapper;
import com.tulele.vtool.mapper.UserInfoMapper;
import com.tulele.vtool.model.*;
import com.tulele.vtool.service.ShieldService;
import com.tulele.vtool.service.UserGroupGzhService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 系统用户(SysUser)表服务实现类
 *
 * @author makejava
 * @since 2021-01-04 16:21:22
 */
@Service("ShieldService")
public class ShieldServiceImpl implements ShieldService {

    @Autowired
    private ShieldMapper shieldMapper;

    @Override
    public BArticleShieldEntity getArticleShield(Integer articleId) {
        return shieldMapper.getArticleShield(articleId);
    }

    @Override
    public BUserShieldEntity getUserShield(Integer userId) {
        return shieldMapper.getUserShield(userId);
    }

    @Override
    public BBrandShieldEntity getBrandShield(Integer brandId, String gzhCode) {
        return shieldMapper.getBrandShield(brandId, gzhCode);
    }

}